<%@page contentType="text/html;charset=utf-8" language="java" %>
<%@include file="../common/jsp/common.jsp"%>

<!DOCTYPE html>
<html>

<head>
<title>用户管理-用户新增</title>
<meta charset="utf-8"/>
<script>
	requires(["artDialog", "ztree", "validate", "manage", "/manage/user_add.js"]);
</script>
</head>

<body class="user-add page-form">

<div class="main">
	<div class="top">
		<h1>用户管理</h1>
		<div class="crumbs">您当前位置：系统管理 -&gt; <a href="user.jsp">用户管理</a> -&gt; <e>用户新增 </e></div>
	</div>	
	<div class="form-box">
		<dl class="form" id="form">
			<dt class="form-dt">
				<label class="key">用户编码：</label>
				<input id="userId" type="text" regex="^\w{4,20}$" tip="长度4-20字符，建议由大写字母、数字和_组成" uppercase/>
				<span class='require'>*</span>
			</dt>
			<dt class="form-dt">
				<label class="key">用户名称：</label>
				<input id="userName" type="text" regex="^[\u4e00-\u9fa5\w]{2,20}$" tip="长度2-20字符，建议由汉字、大写字母、数字和_组成"/>
				<span class='require'>*</span>
			</dt>
			<dt class="form-dt">
				<label class="key">E-mail：</label>
				<input id="email" type="text" regex="^(\w)+(\.\w+)*@(\w)+((\.\w+)+)$" tip="请输入正确的邮箱号码"/>
				<span class='require'>*</span>
			</dt>
			<dt class="form-dt">
				<label class="key">手机号码：</label>
				<input id="phone" type="text" regex="^(13[0-9]|15[012356789]|17[678]|18[0-9]|14[57])[0-9]{8}$" tip="请输入11位手机号码"/>
				<span class='require'>*</span>
			</dt>
			<dt class="form-dt">
				<label class="key">用户状态：</label>
				<select id="status">
					<option value="1">启用</option>
					<option value="0">停用</option>
				</select>
			</dt>
			<dt class="form-dt">
				<label class="key">所属地市：</label>
				<input id="areaId" readonly  type="text" regex="^[\u4e00-\u9fa5\w]{1,20}$" tip="请选择所属地市"/>
				<span class='require'>*</span>
			</dt>
			<dt class="form-dt">
				<label class="key">&nbsp;&nbsp;</label>
				<span class="form-tip"></span>
			</dt>
			
		</dl>
		<div class="form-submit-box">
				<button class="form-submit"><i class="iconfont icon-baocun"></i> 提交</button>
				<button class="form-reset"><i class="iconfont icon-chuangyi"></i> 重置</button>
			</div>
	</div>
</div>

</body>
</html>